<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Title</title>
</head>
<body>
	<canvas id="canvas" width="1024" height="768" style="border: 1px solid #aaa; display: block; margin: auto auto">
		<!--兼容降错-->
		当前浏览器不支持 Canvas，请更换浏览器后再试
	</canvas>

	<script>
		const canvas = document.getElementById('canvas')
		// 绘图上下文环境 2D 绘图
		const context = 1..getContext('2d')
	</script>
</body>
</html>
